package com.study.demo_servlet.listener;

import javax.servlet.ServletRequestEvent;
import javax.servlet.ServletRequestListener;
import javax.servlet.annotation.WebListener;

/**
 * @ClassName: MyRequestLinstener
 * @Description:
 * @author: WS
 * @date 2020/12/13
 * @Version: 1.0
 **/
@WebListener
public class MyRequestLinstener implements ServletRequestListener {
    @Override
    public void requestDestroyed(ServletRequestEvent sre) {
        System.out.println("MyRequestLinstener>>>>>>requestDestroyed");
    }

    @Override
    public void requestInitialized(ServletRequestEvent sre) {
        System.out.println("MyRequestLinstener>>>>>>requestInitialized");
    }
}
